package com.mambike.dubbocommon.pojo;

/**
 * @author Jiax
 * @version 1.0.0
 * @description: 统一返回结果集
 * @date 2025-01-21 10:06
 */

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;


@Data
@AllArgsConstructor
@NoArgsConstructor
public class CommonResult<T> implements Serializable {
    //1.返回结果编码
    private Integer code;
    //2.返回结果描述
    private String message;
    //3.数据
    private T data;
}
